package com.ruoyi.personnelMatters.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class PostChangeScanInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    //职务扫描信息id
    private int personPostChangeId;
    //用户id
    private Long userId;
    //员工姓名
    private String userName;
    //原先职务id
    private Long oldPostId;
    //原先职务名称
    private String oldPostName;
    //修改后的职务id
    private Long newPostId;
    //修改后职务名称;
    private String newPostName;
    //生效日期
    private Date postChangeEffectiveDate;
    //创建日期
    private Date createTime;
    //是否执行过
    private int executed;

    public int getPersonPostChangeId() {
        return personPostChangeId;
    }

    public void setPersonPostChangeId(int personPostChangeId) {
        this.personPostChangeId = personPostChangeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOldPostId() {
        return oldPostId;
    }

    public void setOldPostId(Long oldPostId) {
        this.oldPostId = oldPostId;
    }

    public Long getNewPostId() {
        return newPostId;
    }

    public void setNewPostId(Long newPostId) {
        this.newPostId = newPostId;
    }

    public Date getPostChangeEffectiveDate() {
        return postChangeEffectiveDate;
    }

    public void setPostChangeEffectiveDate(Date postChangeEffectiveDate) {
        this.postChangeEffectiveDate = postChangeEffectiveDate;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getExecuted() {
        return executed;
    }

    public void setExecuted(int executed) {
        this.executed = executed;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOldPostName() {
        return oldPostName;
    }

    public void setOldPostName(String oldPostName) {
        this.oldPostName = oldPostName;
    }

    public String getNewPostName() {
        return newPostName;
    }

    public void setNewPostName(String newPostName) {
        this.newPostName = newPostName;
    }

    @Override
    public String toString() {
        return "PostChangeScanInfo{" +
                "personPostChangeId=" + personPostChangeId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", oldPostId=" + oldPostId +
                ", oldPostName='" + oldPostName + '\'' +
                ", newPostId=" + newPostId +
                ", newPostName='" + newPostName + '\'' +
                ", postChangeEffectiveDate=" + postChangeEffectiveDate +
                ", createTime=" + createTime +
                ", executed=" + executed +
                '}';
    }
}
